package com.example.demo;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Mr.yuan
 * @version v1.0
 * @date 2019/12/5 15:23
 **/
@FeignClient(name = "account-service",url = "127.0.0.1:8082")
public interface FeignClientService {

    @RequestMapping("/add")
    String add(@RequestParam("money") String money);
}
